@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap");
* {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  -webkit-transition: .2s linear;
  transition: .2s linear;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
}

html::-webkit-scrollbar {
  width: 1rem;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background:  rgb(230, 154, 142);
  border-radius: 5rem;
}

section {
  padding: 5rem 9%;
}

.heading {
  padding-bottom: 4rem;
  margin-top: 5rem;
  text-align: center;
  font-size: 4rem;
  color: #130f40;
}

.heading span {
  color: #df9292;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: .8rem 2.8rem;
  border-radius: 5rem;
  border-top-left-radius: 0;
  border: 0.2rem solid #df9292;
  cursor: pointer;
  background: none;
  color: #df9292;
  font-size: 1.7rem;
  overflow: hidden;
  z-index: 0;
  position: relative;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #df9292;
  z-index: -1;
  -webkit-transition: .2s linear;
  transition: .2s linear;
  -webkit-clip-path: circle(0% at 0% 5%);
          clip-path: circle(0% at 0% 5%);
}

.btn:hover::before {
  -webkit-clip-path: circle(100%);
          clip-path: circle(100%);
}

.btn:hover {
  color: #fff;
}

/* 导航栏开始 */
.header {
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 2rem 9%;
  -webkit-box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
          box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}


.header .logo {
  font-size: 2.5rem;
  color: #130f40;
  font-weight: bolder;
}

.header .logo i {
  color:  rgb(230, 154, 142);
}

.header .navbar a {
  display: inline-flex;       
  align-items: center;       
  padding: 0 1.5rem;         
  font-size: 1.8rem;
  font-weight: 500;
  color: #51515b;
}

.header .navbar a:hover {
  color:  rgb(230, 154, 142);
  transform: scale(1.1); /* 放大 10% */
}

.header .icons a{
  font-size: 2.5rem;
  margin-left: 1.5rem;
  color: #130f40;
  cursor: pointer;
}

.user-menu {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 206%;
  left: 70%;
  transform: translateX(-50%);
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0px 0px 15px 15px;
  width: 90px;
  padding: 7px 0;
  visibility: hidden;
  opacity: 1;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown-menu a {
  display: block;
  width: 100px; /* 按钮宽度 */
  padding-top: 0.2rem;
  padding-bottom: 1px;
  padding-right: 1.3rem;
  font-size: 1.7rem!important;
  color:#51515b;
  transition: background 0.3s;
  text-align: center;
}

.dropdown-menu a:hover {
  color: rgb(230, 154, 142) !important;
}


.user-menu:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
}



.header .icons .login-out-btn{
  background-color: rgb(230, 154, 142); 
  color: #fff;
  border: none;
  padding: 6px 18px;
  padding-top: 8px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 80px;
  margin-left: 1.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.header .icons .login-out-btn:hover{
  background-color:  rgb(225, 130, 116);
}

.header .icons a:hover{
  color:  rgb(230, 154, 142);
}
/* 导航栏结束 */


.home {
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  background: url(https://img.tukuppt.com/bg_grid/00/22/08/WaLxVKU6cT.jpg!/fh/350) no-repeat;
  background-position: center calc(50% + 1.5rem);
  background-size: cover;
  position: relative;
}

.home .content {
  width: 62rem;
}

.home .content h3 {
  font-size: 6rem;
  color: rgb(66, 59, 57);
  padding-bottom: 1rem;
  margin-top: 4rem; 
}

.home .content h3 span {
  color: rgb(232, 130, 108);
}

.home .content .btn {
  color: #df9292;
  border-color: #df9292;
  font-size: 2.2rem;       /* 增大文字 */
  padding: 1rem 3.5rem; 
}

.home .content .btn:hover {
  color: #fff;
  background: #df9292;
}

.home .content .btn::before {
  background: #df9292;
}

.home .wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10rem;
}

.about-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 2rem;
}

.about-container .image {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 40rem;
          flex: 1 1 40rem;
}

.about-container .image img {
  width: 100%;
}

.about-container .content {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 40rem;
          flex: 1 1 40rem;
}

.about-container .content h3 {
  color: #130f40;
  font-size: 3.2rem;
}

.about-container .content h3 span {
  color: #df9292;
}

.about-container .content p {
  font-size: 2rem;
  color: #524e4e;
  padding: 1rem 0;
  line-height: 2;
}

.video-call,
.self-test,
.healing-game,
.tree-hole {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding: 2rem 0;
}

.video-call .image,
.self-test .image,
.healing-game .image,
.tree-hole .image{
  -webkit-box-flex: 1;
      -ms-flex: 1 1 40rem;
          flex: 1 1 40rem;
}

.video-call .image img{
  width: 100%;
}

.self-test .image img {
  width: 85%;
}

.healing-game .image img{
  width: 100%;
}

.tree-hole .image img{
  width:110%;
}

.video-call .content{
  -webkit-box-flex: 1;
  -ms-flex: 1 1 40rem;
  flex: 1 1 50rem;
  text-align: center;
  padding: 2rem;
}

.self-test .content {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 40rem;
      flex: 1 1 50rem;
      text-align: center;
      padding: 2rem;
}

.healing-game .content {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 40rem;
      flex: 1 1 50rem;
      text-align: center;
      padding: 2rem;
}

.tree-hole .content {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 40rem;
      flex: 1 1 50rem;
      text-align: center;
      padding: 2rem;
}

.video-call .content h3,
.self-test .content h3,
.healing-game .content h3,
.tree-hole .content h3{
  font-size: 4rem;
  color: #130f40;
}


.video-call .content p,
.self-test .content p,
.healing-game .content p,
.tree-hole .content p {
  padding: 1rem 2.5rem;
  line-height: 2;
  color: #666;
  font-size: 1.6rem;
}

.video-call .content .tips,
.self-test .content .tips,
.healing-game .content .tips,
.tree-hole .content .tips{
  font-size: 3rem;
  color:#df9292;
  padding: .5rem 0;
}

.video-call .content a img,
.self-test .content a img,
.healing-game .content a img,
.tree-hole .content a img {
  height: 9rem;
  margin-top: 3rem;
}

.video-call .content a:hover img,
.self-test .content a:hover img,
.healing-game .content a:hover img,
.tree-hole .content a:hover img {
  -webkit-transform: rotate(15deg);
          transform: rotate(15deg);
}




.footer {
  position: relative;
  background-color:#df9292;
  background-position: center;
  background-size: center;
  padding-top: 10rem;
  padding-bottom: 2rem;
}

.footer img {
  position: absolute;
  top: -10rem;
  left: 0;
  height: 10rem;
  width: 100%;
  object-fit: cover; /* 确保图片比例不变形 */
}

.footer .contact {
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.footer .credit {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  padding: 2rem 1rem;
  margin-top: 2.5rem;
}

.footer .credit span {
  font-weight: 1000;
}
